package it.cqupt.mapper;

import it.cqupt.bean.Student;

import java.util.List;

public interface StudentMaper {
    //查询全部
    public List<Student> selectAll();

    //根据学号查询学生
    public Student selectById(Integer id);

    //插入
    public int insertToStu(Student stu);

    //更新
    public int updateAllById(Student stu);

    //删除
    public int deleteById(Integer id);

    //条件查询
    public List<Student> selectByCondition(Student stu);

    //根据多个id查询
    public List<Student> selectStudentByIds(List<Integer> list);
}
